package com.jiangdong.craft.mapper;

import com.jiangdong.craft.entity.CraftProcedure;
import com.jiangdong.craft.example.CraftProcedureExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface CraftProcedureMapper {

    void insertBatch(@Param("craftProcedureList") List<CraftProcedure> craftProcedureList);

    long countByExample(CraftProcedureExample example);

    int deleteByExample(CraftProcedureExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CraftProcedure record);

    int insertSelective(CraftProcedure record);

    List<CraftProcedure> selectByExample(CraftProcedureExample example);

    CraftProcedure selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CraftProcedure record, @Param("example") CraftProcedureExample example);

    int updateByExample(@Param("record") CraftProcedure record, @Param("example") CraftProcedureExample example);

    int updateByPrimaryKeySelective(CraftProcedure record);

    int updateByPrimaryKey(CraftProcedure record);
}